package com.example.fastdfs_demo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "spring.lucifer.upload")
public class UploadProperties {

  private String uploadPathName;
  private String baseUrl;
  private List<String> allowTypes;
  private String fileExtName;
  private String groupName;
  
  public String getUploadPathName() {
    return uploadPathName;
  }
  public void setUploadPathName(String uploadPathName) {
    this.uploadPathName = uploadPathName;
  }
  public String getBaseUrl() {
    return baseUrl;
  }
  public void setBaseUrl(String baseUrl) {
    this.baseUrl = baseUrl;
  }
  public List<String> getAllowTypes() {
    return allowTypes;
  }
  public void setAllowTypes(List<String> allowTypes) {
    this.allowTypes = allowTypes;
  }
  public String getFileExtName() {
    return fileExtName;
  }
  public void setFileExtName(String fileExtName) {
    this.fileExtName = fileExtName;
  }
  public String getGroupName() {
    return groupName;
  }
  public void setGroupName(String groupName) {
    this.groupName = groupName;
  }
  
  
}
